﻿using Microsoft.Extensions.Configuration;

namespace MiniFox.Data.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class ConnectionConfiguration
    {
        const string PROVIDER_NAME = "providerName";
        const string NAME = "name";
        const string CONNECTION_STRING = "connectionString";
        /// <summary>
        /// 
        /// </summary>
        public ConnectionConfiguration() { }

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName(NAME)]
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName(PROVIDER_NAME)]
        public string ProviderName
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName(CONNECTION_STRING)]
        public string ConnectionString
        {
            get;
            set;
        }

    }
}
